<?php use_helper('I18N', 'Date') ?>
<?php include_partial('material/assets') ?>

<div id="sf_admin_container">
  <?php if($form->getObject()->getId()>0):?>
  <h1>Редактирование материала</h1>
  <?php else: ?>
  <h1>Создание материала</h1>
  <?php endif ?>

  <?php include_partial('material/flashes') ?>

  <div id="sf_admin_header">
    <?php include_partial('material/form_header', array('material' => $material, 'form' => $form, 'configuration' => $configuration)) ?>
  </div>

  <div id="sf_admin_content">
    <?php include_partial('material/form', array('material' => $material, 'form' => $form, 'configuration' => $configuration, 'helper' => $helper)) ?>
  </div>

  <div id="sf_admin_footer">
    <?php include_partial('material/form_footer', array('material' => $material, 'form' => $form, 'configuration' => $configuration)) ?>
  </div>
</div>



